﻿using System;

namespace Extensions.Attributes
{
    [AttributeUsage(AttributeTargets.Method, Inherited = true)]
    public class CachingAttribute : Attribute
    {
        /// <summary>
        /// 缓存绝对过期时间(秒)
        /// </summary>
        public int AbsoluteExpirationReleativeToNow { get; set; } = 120;
    }
}
